package com.example.smart_light.servlet;


import com.example.smart_light.socket.ConnSocket;
import javax.servlet.http.HttpServlet;


public class InitScketServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;

	/**
	 * 此处为构造方法，当创建对象时自动调用
	 */
	public InitScketServlet() {
		//打印提示信息
		System.out.println("InitScketServlet().............");
		//监听端口
		ConnSocket connSocket = new ConnSocket();
		//等待客户端连接
		connSocket.start();
	}

}
